package com.testshiro.service.impl;

import java.util.List;

import org.apache.log4j.Logger;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.base.service.BaseServiceImpl;
import com.testshiro.dao.SysRoleDao;
import com.testshiro.entity.SysAutho;
import com.testshiro.entity.SysRole;
import com.testshiro.model.ListBean;
import com.testshiro.service.SysRoleService;

/**
 * 
 * <br>
 * <b>功能：</b>SysRoleService<br>
 */
@Service("sysroleService")
public class  SysRoleServiceImpl  extends BaseServiceImpl implements SysRoleService {
  private final static Logger log= Logger.getLogger(SysRoleServiceImpl.class);
	

	@Resource
    private SysRoleDao dao;

		
	public SysRoleDao getDao() {
		return dao;
	}

	@Override
	public List<SysAutho> getRoleAuthos(Integer roleId) {
		return dao.getRoleAuthos(roleId);
	}


	@Override
	public List<ListBean> queryRoleForSet(SysRole queryObj) {
		return dao.queryRoleForSet(queryObj);
	}


}
